perf: Fix ABI change in 3.16.7-ckt2
authorBen Hutchings <ben@decadent.org.uk>
Mon, 8 Dec 2014 01:39:31 +0000 (01:39 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 16 Jan 2015 00:15:12 +0000 (00:15 +0000)
Hide the new #include from genksyms.

Gbp-Pq: Topic debian
Gbp-Pq: Name perf-fix-abi-change-in-3.16.7-ckt2.patch

kernel/events/core.c

index cfaeffaefc756e43836bb8f10cf0d1bdf6b06be0..71173bf1e4592de28e93f2906ba8cb11bc4d0f5d 100644 (file)
@@ -41,7 +41,9 @@
 #include <linux/cgroup.h>
 #include <linux/module.h>
 #include <linux/mman.h>
+#ifndef __GENKSYMS__
 #include <linux/compat.h>
+#endif
 
 #include "internal.h"